package com.chen.authority.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.hutool.core.date.DatePattern;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 字典数据 视图对象
 *
 * @author chengy
 * @date 2023-09-04
 */
@Data
public class DictDataVo {

    @ApiModelProperty("编码")
    private Integer id;

    @ApiModelProperty("标签")
    @Excel(name = "标签", width = 20)
    private String label;

    @ApiModelProperty("键值")
    @Excel(name = "键值", width = 20)
    private String value;

    @ApiModelProperty("类型")
    @Excel(name = "类型", width = 20)
    private String type;

    @ApiModelProperty("备注")
    @Excel(name = "备注", width = 20)
    private String remark;

    @ApiModelProperty("创建时间")
    @Excel(name = "创建时间", width = 20, format = DatePattern.NORM_DATETIME_PATTERN)
    private Date createTime;

}